﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Template_20130809041723.aspx.cs" Inherits="BPM.ReportDesigner.GenerateReportFiles.Template_20130809041723" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>资源查询</title>
    <script src="../ImportScript/jquery-1.7.1.min.js" type="text/javascript"></script>
    <link href="../ImportScript/My97DatePicker/My97DatePicker/skin/WdatePicker.css" rel="stylesheet"
        type="text/css" />
    <script src="../ImportScript/My97DatePicker/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        var actionRow, actionColor, actionFolat;
        function Report_Print() {
            var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
            document.body.insertAdjacentHTML('beforeEnd', WebBrowser); //在body标签内加入html(WebBrowser activeX控件)
            WebBrowser1.ExecWB(7, 1); //打印预览
        }
        function SetColor(obj) {
            if (actionRow == null) {
                actionRow = obj;
                actionColor = obj.style.backgroundColor;
                actionFolat = obj.style.color;
                obj.style.backgroundColor = "#28C787";
                obj.style.color = "#FFFFFF";
            } else {
                actionRow.style.backgroundColor = actionColor;
                actionRow.style.color = actionFolat;
                actionRow = obj;
                actionColor = obj.style.backgroundColor;
                actionFolat = obj.style.color;
                obj.style.backgroundColor = "#28C787";
                obj.style.color = "#FFFFFF";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="pl10 pr10">
        <div class="place">
            <div class="placeleft">
                <i></i>您现在的位置：<a href="#">报表</a> >> <strong><b>资源查询</b></strong>
            </div>
            <div class="globalBtn">
            </div>
        </div>
        <div class="listTable_1">
            <%-- <div class="tableh3">
                资源查询</div>--%>
            <table border="0" cellpadding="0" cellspacing="0" class="listTable">
                <tr>  <td colspan="3">    <h5 class="titleBG">        查询条件</h5>  </td></tr> <tr><td width="33%" nowrap>    <span  style="white-space:nowrap;word-break:break-all;">RESOURCEID</span>    <asp:TextBox ID="RESOURCEID" runat="server" CssClass="inputboder2"></asp:TextBox></td><td width="33%" nowrap>    <span  style="white-space:nowrap;word-break:break-all;">CNNAME</span>    <asp:TextBox ID="CNNAME" runat="server" CssClass="inputboder2"></asp:TextBox></td></tr>
            </table>
            <div class="pt10">
                <asp:Button ID="SearchButton" runat="server" Text="查询" CssClass="btn" onclick="SearchButton_Click"/>
                <input type="button" class="btn" value="打印预览" onclick="Report_Print()" />&nbsp;&nbsp;<asp:Button
                    ID="Button1" runat="server" Text="导出Excel" CssClass="btn" OnClick="ExportToExcel_Click" />
            </div>
            <div class="pt10">
                <table class="table table-bordered table-hover table-condensed">
                    <tr>
                        <th class="reptTH" style="width:20px;">No.</th><th class="reptTH" style="width:330px">RESOURCEID1</th><th class="reptTH" style="width:180px">CNNAME</th><th class="reptTH" style="width:180px">ENNAME</th><th class="reptTH" style="width:120px">TYPE</th><th class="reptTH" style="width:180px">MODULE</th><th class="reptTH" style="width:120px">CODE</th><th class="reptTH" style="width:240px">PARENTID</th><th class="reptTH" style="width:180px">REMARK</th><th class="reptTH" style="width:210px">ORDERNO</th><th class="reptTH" style="width:240px">ISACTIVE</th><th class="reptTH" style="width:300px">CREATEDATE</th><th class="reptTH" style="width:240px">CREATEBY</th><th class="reptTH" style="width:300px">UPDATEDATE</th><th class="reptTH" style="width:240px">UPDATEBY</th><th class="reptTH" style="width:300px">EFFECTFROM</th><th class="reptTH" style="width:240px">EFFECTTO</th><th class="reptTH" style="width:150px">EXT01</th><th class="reptTH" style="width:150px">EXT02</th><th class="reptTH" style="width:150px">EXT03</th><th class="reptTH" style="width:150px">EXT04</th><th class="reptTH" style="width:150px">EXT05</th><th class="reptTH" style="width:150px">EXT06</th><th class="reptTH" style="width:150px">EXT07</th><th class="reptTH" style="width:150px">EXT08</th><th class="reptTH" style="width:150px">EXT09</th><th class="reptTH" style="width:150px">EXT10</th><th class="reptTH" style="width:150px">EXT11</th><th class="reptTH" style="width:150px">EXT12</th><th class="reptTH" style="width:150px">EXT13</th><th class="reptTH" style="width:150px">EXT14</th><th class="reptTH" style="width:150px">EXT15</th><th class="reptTH" style="width:150px">EXT16</th><th class="reptTH" style="width:150px">EXT17</th><th class="reptTH" style="width:150px">EXT18</th><th class="reptTH" style="width:150px">EXT19</th><th class="reptTH" style="width:150px">EXT20</th><th class="reptTH" style="width:150px">EXT21</th><th class="reptTH" style="width:150px">EXT22</th><th class="reptTH" style="width:150px">EXT23</th><th class="reptTH" style="width:150px">EXT24</th><th class="reptTH" style="width:150px">EXT25</th><th class="reptTH" style="width:150px">EXT26</th><th class="reptTH" style="width:150px">EXT27</th><th class="reptTH" style="width:150px">EXT28</th><th class="reptTH" style="width:150px">EXT29</th><th class="reptTH" style="width:150px">EXT30</th>
                    </tr>
                    <asp:Repeater ID="ReportList" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td class="reptTD" style="border-right-width:1px;" ><%# Container.ItemIndex + 1%></td><td class="reptTD"><%# Eval("RESOURCEID1")%></td><td class="reptTD"><%# Eval("CNNAME")%></td><td class="reptTD"><%# Eval("ENNAME")%></td><td class="reptTD"><%# Eval("TYPE")%></td><td class="reptTD"><%# Eval("MODULE")%></td><td class="reptTD"><%# Eval("CODE")%></td><td class="reptTD"><%# Eval("PARENTID")%></td><td class="reptTD"><%# Eval("REMARK")%></td><td class="reptTD"><%# Eval("ORDERNO")%></td><td class="reptTD"><%# Eval("ISACTIVE")%></td><td class="reptTD"><%# Eval("CREATEDATE")%></td><td class="reptTD"><%# Eval("CREATEBY")%></td><td class="reptTD"><%# Eval("UPDATEDATE")%></td><td class="reptTD"><%# Eval("UPDATEBY")%></td><td class="reptTD"><%# Eval("EFFECTFROM")%></td><td class="reptTD"><%# Eval("EFFECTTO")%></td><td class="reptTD"><%# Eval("EXT01")%></td><td class="reptTD"><%# Eval("EXT02")%></td><td class="reptTD"><%# Eval("EXT03")%></td><td class="reptTD"><%# Eval("EXT04")%></td><td class="reptTD"><%# Eval("EXT05")%></td><td class="reptTD"><%# Eval("EXT06")%></td><td class="reptTD"><%# Eval("EXT07")%></td><td class="reptTD"><%# Eval("EXT08")%></td><td class="reptTD"><%# Eval("EXT09")%></td><td class="reptTD"><%# Eval("EXT10")%></td><td class="reptTD"><%# Eval("EXT11")%></td><td class="reptTD"><%# Eval("EXT12")%></td><td class="reptTD"><%# Eval("EXT13")%></td><td class="reptTD"><%# Eval("EXT14")%></td><td class="reptTD"><%# Eval("EXT15")%></td><td class="reptTD"><%# Eval("EXT16")%></td><td class="reptTD"><%# Eval("EXT17")%></td><td class="reptTD"><%# Eval("EXT18")%></td><td class="reptTD"><%# Eval("EXT19")%></td><td class="reptTD"><%# Eval("EXT20")%></td><td class="reptTD"><%# Eval("EXT21")%></td><td class="reptTD"><%# Eval("EXT22")%></td><td class="reptTD"><%# Eval("EXT23")%></td><td class="reptTD"><%# Eval("EXT24")%></td><td class="reptTD"><%# Eval("EXT25")%></td><td class="reptTD"><%# Eval("EXT26")%></td><td class="reptTD"><%# Eval("EXT27")%></td><td class="reptTD"><%# Eval("EXT28")%></td><td class="reptTD"><%# Eval("EXT29")%></td><td class="reptTD"><%# Eval("EXT30")%></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="47" style="text-align: left; padding: 5px;">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="Count %RecordCount%" HorizontalAlign="left" Width="100%" CssClass="aspNetPager" OnPageChanged="AspNetPager1_PageChanged" PageSize="10" AlwaysShow="true" SubmitButtonStyle="display:none" InputBoxStyle="display:none" NextPageText="下一页" FirstPageText="首页" LastPageText="末页" PrevPageText="上一页"></webdiyer:AspNetPager>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
